package com.wangshb.agent.demo.runtime;


/**
 * 添加 VM 运行参数
 *
 *   -javaagent:D:\wangshb\code\javaagent_study\javaagent\target\agent-jar-with-dependencies.jar
 *
 *   agent.jar 为探针对应的jar路径
 *
 * @author wangsb12
 */
public class RuntimeTest {

    public static void main(String[] args) {
        test();

        test1();

        test2();
    }


    public static void test() {
        System.out.println("test方法");

        nested_test();
    }

    public static void test1() {
        System.out.println("test1方法");
    }

    public static void test2() {
        System.out.println("test2方法");
    }


    public static void nested_test() {
        System.out.println("test方法调用的方法");
    }

}


